package com.xusheng.cli.entity.vipRecordModule;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xusheng.cli.common.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
/**
 * 会员购买记录 (VipRecord)表实体类
 *
 * @author lyh
 * @since 2023-05-06 13:17:13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class VipRecord extends BaseEntity {
    /**
    * 用户编号
    */
    private Long userId;
    /**
    * 会员等级编号
    */
    private Long vipId;
    /**
    * 金额
    */
    private BigDecimal amount;

    /**
     * 用户名
     */
    @TableField(exist = false)
    private String userName;
    /**
     * 会员等级名
     */
    @TableField(exist = false)
    private String vipName;
                    
}

